package com.tedu.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * Author：毕龙
 * Date: 2023/7/28 10:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Emp {
    /**
     * `id` INT(11) NOT NULL AUTO_INCREMENT,
     *   `name` VARCHAR(10) COLLATE utf8_bin DEFAULT NULL,
     *   `salary` DOUBLE DEFAULT NULL,
     *   `birthday` DATE DEFAULT NULL,
     *   `age` INT(11) DEFAULT NULL,
     *   `dept_id` INT(11) DEFAULT NULL,
     *   PRIMARY KEY (`id`),
     *   KEY `emp_dept_id` (`dept_id`),
     */
    private Integer id;
    private String name;
    private Double salary;
    private Date birthday;
    private Integer age;
    private Integer deptId;
}
